import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
//class SArenaCrossFightRecord
    
    export  class SArenaCrossFightRecord
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.entityIdWin.__write(arg1);
            arg1.writeString(this.nameWin);
            this.entityIdLose.__write(arg1);
            arg1.writeString(this.nameLose);
            arg1.writeString(this.fightRecordId);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.entityIdWin = new SEntityId();
            this.entityIdWin.__read(arg1);
            this.nameWin = arg1.readString();
            this.entityIdLose = new SEntityId();
            this.entityIdLose.__read(arg1);
            this.nameLose = arg1.readString();
            this.fightRecordId = arg1.readString();
            return;
        }

        public /* var */entityIdWin: SEntityId;

        public /* var */nameWin: string;

        public /* var */entityIdLose: SEntityId;

        public /* var */nameLose: string;

        public /* var */fightRecordId: string;
    }
